#ifndef __CAGENT_H__
#define __CAGENT_H__
#include <IMesh.h>
#include <IEntity.h>
#include <IPhysics.h>

#include "CGameObject.h"
#include "CHitBox.h"

#define LEFT 1
#define UPLEFT 2
#define UP 3
#define UPRIGHT 4
#define RIGHT 5
#define DOWNRIGHT 6
#define DOWN 7
#define DOWNLEFT 8


namespace Content
{
class CAgent : public CGameObject
{
public:
  CAgent();
  ~CAgent();
  void init();
  virtual void update(float dT);
  void moveDir(int dir, float value);
private:
  bool isMoving;
  int curDir;
  IMesh* pAgentMesh;
  CHitBox* pHitBox;

};


}
#endif